package com.gjp.springbootexception.service;

import com.gjp.springbootexception.exception.ParamErrorException;
import org.springframework.stereotype.Service;

/**
 * 因为是学习示例代码，就不写接口了
 */
@Service
public class TestService {

    public void testError(){
        throw new ParamErrorException("请求参数错误");
    }
}
